package keke;

class Account1{
	private int balance;

	public Account1(int balance) {
		super();
		this.balance = balance;
	}
	public int getBalance() {
		return balance;
	}
	synchronized void deposit(int money){
		balance+=money;
	}
	synchronized void withdraw(int money){
		balance-=money;
	}
}
public class Main0704new {

}
